package com.ruoyi.wifiauth.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.common.core.annotation.Excel;

/**
 * 引导页访问记录表 guide_page_access
 */
public class GuidePageAccess extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 会话ID */
    @Excel(name = "会话ID")
    private String sessionId;

    /** 来源参数 */
    @Excel(name = "来源参数")
    private String src;

    /** MAC地址 */
    @Excel(name = "MAC地址")
    private String macAddress;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String deviceId;

    /** 渠道ID */
    @Excel(name = "渠道ID")
    private String channelId;

    /** 厂商时间戳 */
    @Excel(name = "厂商时间戳")
    private Long vendorTimestamp;

    /** 厂商签名 */
    @Excel(name = "厂商签名")
    private String sign;

    /** 签名版本 */
    @Excel(name = "签名版本")
    private String signVer;

    /** 用户IP地址 */
    @Excel(name = "用户IP地址")
    private String userIp;

    /** 用户代理 */
    @Excel(name = "用户代理")
    private String userAgent;

    /** 来源页面 */
    @Excel(name = "来源页面")
    private String referer;

    /** 状态(0-失效,1-有效) */
    @Excel(name = "状态", readConverterExp = "0=失效,1=有效")
    private Integer status;

    // Getter and Setter methods
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public String getSessionId() { return sessionId; }
    public void setSessionId(String sessionId) { this.sessionId = sessionId; }

    public String getSrc() { return src; }
    public void setSrc(String src) { this.src = src; }

    public String getMacAddress() { return macAddress; }
    public void setMacAddress(String macAddress) { this.macAddress = macAddress; }

    public String getDeviceId() { return deviceId; }
    public void setDeviceId(String deviceId) { this.deviceId = deviceId; }

    public String getChannelId() { return channelId; }
    public void setChannelId(String channelId) { this.channelId = channelId; }

    public Long getVendorTimestamp() { return vendorTimestamp; }
    public void setVendorTimestamp(Long vendorTimestamp) { this.vendorTimestamp = vendorTimestamp; }

    public String getSign() { return sign; }
    public void setSign(String sign) { this.sign = sign; }

    public String getSignVer() { return signVer; }
    public void setSignVer(String signVer) { this.signVer = signVer; }

    public String getUserIp() { return userIp; }
    public void setUserIp(String userIp) { this.userIp = userIp; }

    public String getUserAgent() { return userAgent; }
    public void setUserAgent(String userAgent) { this.userAgent = userAgent; }

    public String getReferer() { return referer; }
    public void setReferer(String referer) { this.referer = referer; }

    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }

    @Override
    public String toString() {
        return "GuidePageAccess{" +
                "id=" + id +
                ", sessionId='" + sessionId + '\'' +
                ", src='" + src + '\'' +
                ", macAddress='" + macAddress + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", channelId='" + channelId + '\'' +
                ", vendorTimestamp=" + vendorTimestamp +
                ", sign='" + sign + '\'' +
                ", signVer='" + signVer + '\'' +
                ", userIp='" + userIp + '\'' +
                ", userAgent='" + userAgent + '\'' +
                ", referer='" + referer + '\'' +
                ", status=" + status +
                '}';
    }
} 